R/A is an integral domain if and only if A is prime.